public class Allocation
{
       private String allocationId;
       private Staff staff;
       private Submission submision;
       private String status;

       public Allocation(String allocationId, Staff staff, Submission submision, String status)
       {
               super();
               this.allocationId = allocationId;
               this.staff = staff;
               this.submision = submision;
               this.status = status;
       }

       public Allocation(String allocationId, Staff staff, String status, Submission sub)
       {
               super();
               this.allocationId = allocationId;
               this.staff = staff;
               this.submision = sub;
               this.status = status;
       }

       public String getAllocationId()
       {
               return allocationId;
       }

       public Staff getStaff()
       {
               return staff;
       }

       public Submission getSubmision()
       {
               return submision;
       }

       public String getStatus()
       {
               return status;

       }

       public String toString()
       {
               return "Allocation Id:" + allocationId + ", Status:" + this.status
                               + ", Submission Key:" + this.submision.getSubmissionKey();
       }

}

